.class public Lcom/instagram/android/fragment/ia;
.super Lcom/instagram/e/b/c;
.source "UserOptionsFragment.java"

# interfaces
.implements Lcom/instagram/a/b;


# static fields
.field private static final i:Ljava/lang/Class;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/Class",
            "<*>;"
        }
    .end annotation
.end field


# instance fields
.field private Z:Lcom/instagram/ui/d/h;

.field private aa:Lcom/instagram/android/e/o;

.field private ab:Lcom/instagram/android/util/c;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 46
    const-class v0, Lcom/instagram/android/fragment/ia;

    sput-object v0, Lcom/instagram/android/fragment/ia;->i:Ljava/lang/Class;

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 42
    invoke-direct {p0}, Lcom/instagram/e/b/c;-><init>()V

    return-void
.end method

.method static synthetic X()Ljava/lang/Class;
    .locals 1

    .prologue
    .line 42
    sget-object v0, Lcom/instagram/android/fragment/ia;->i:Ljava/lang/Class;

    return-object v0
.end method

.method private Y()Ljava/util/List;
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List",
            "<",
            "Ljava/lang/Object;",
            ">;"
        }
    .end annotation

    .prologue
    const/4 v5, 0x0

    .line 266
    invoke-static {}, Lcom/instagram/m/a/b;->a()Lcom/instagram/m/a/b;

    move-result-object v0

    .line 267
    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v1

    .line 269
    new-instance v2, Ljava/util/ArrayList;

    invoke-direct {v2}, Ljava/util/ArrayList;-><init>()V

    .line 271
    new-instance v3, Lcom/instagram/ui/d/b;

    sget v4, Lcom/facebook/ba;->find_friends_menu_label:I

    invoke-direct {v3, v4}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 272
    new-instance v3, Lcom/instagram/ui/d/b;

    sget v4, Lcom/facebook/ba;->posts_you_liked:I

    invoke-direct {v3, v4}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 273
    iget-object v3, p0, Lcom/instagram/android/fragment/ia;->ab:Lcom/instagram/android/util/c;

    invoke-virtual {v3}, Lcom/instagram/android/util/c;->b()Z

    move-result v3

    if-eqz v3, :cond_0

    .line 274
    new-instance v3, Lcom/instagram/ui/d/b;

    sget v4, Lcom/facebook/ba;->check_for_updates:I

    invoke-direct {v3, v4}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 278
    :cond_0
    new-instance v3, Lcom/instagram/ui/d/a;

    sget v4, Lcom/facebook/ba;->support:I

    invoke-direct {v3, v4}, Lcom/instagram/ui/d/a;-><init>(I)V

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 279
    invoke-static {}, Lcom/instagram/android/g/b;->a()Lcom/facebook/a/b;

    move-result-object v3

    invoke-virtual {v3}, Lcom/facebook/a/b;->b()Z

    move-result v3

    if-eqz v3, :cond_1

    .line 280
    new-instance v3, Lcom/instagram/ui/d/b;

    sget v4, Lcom/facebook/ba;->report_problem:I

    invoke-direct {v3, v4}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 282
    :cond_1
    new-instance v3, Lcom/instagram/ui/d/b;

    sget v4, Lcom/facebook/ba;->instagram_help_center:I

    invoke-direct {v3, v4}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 283
    new-instance v3, Lcom/instagram/ui/d/b;

    sget v4, Lcom/facebook/ba;->privacy_policy:I

    invoke-direct {v3, v4}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 284
    new-instance v3, Lcom/instagram/ui/d/b;

    sget v4, Lcom/facebook/ba;->terms_of_service:I

    invoke-direct {v3, v4}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 285
    new-instance v3, Lcom/instagram/ui/d/b;

    sget v4, Lcom/facebook/ba;->about:I

    invoke-direct {v3, v4}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 288
    new-instance v3, Lcom/instagram/ui/d/a;

    sget v4, Lcom/facebook/ba;->preferences:I

    invoke-direct {v3, v4}, Lcom/instagram/ui/d/a;-><init>(I)V

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 289
    new-instance v3, Lcom/instagram/ui/d/b;

    sget v4, Lcom/facebook/ba;->edit_sharing_settings:I

    invoke-direct {v3, v4}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 290
    new-instance v3, Lcom/instagram/ui/d/b;

    sget v4, Lcom/facebook/ba;->push_notification_settings:I

    invoke-direct {v3, v4}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v2, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 291
    invoke-virtual {v0}, Lcom/instagram/m/a/b;->e()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 292
    invoke-virtual {v1}, Lcom/instagram/m/b/a;->r()Z

    move-result v0

    .line 293
    sget v3, Lcom/facebook/ba;->save_original_photos:I

    invoke-static {v3, v0}, Lcom/instagram/ui/d/b;->a(IZ)Lcom/instagram/ui/d/b;

    move-result-object v0

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 297
    :cond_2
    new-instance v0, Lcom/instagram/ui/d/a;

    sget v3, Lcom/facebook/ba;->video:I

    invoke-direct {v0, v3}, Lcom/instagram/ui/d/a;-><init>(I)V

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 298
    invoke-virtual {v1}, Lcom/instagram/m/b/a;->q()Z

    move-result v0

    .line 299
    sget v1, Lcom/facebook/ba;->video_sound_preference:I

    invoke-static {v1, v0}, Lcom/instagram/ui/d/b;->a(IZ)Lcom/instagram/ui/d/b;

    move-result-object v0

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 301
    invoke-static {}, Lcom/instagram/creation/video/c/b;->c()Z

    move-result v0

    .line 302
    if-eqz v0, :cond_5

    sget v0, Lcom/facebook/ba;->video_preload_always:I

    .line 303
    :goto_0
    new-instance v1, Lcom/instagram/ui/d/b;

    sget v3, Lcom/facebook/ba;->video_preload_preference:I

    invoke-virtual {p0, v0}, Lcom/instagram/android/fragment/ia;->a(I)Ljava/lang/CharSequence;

    move-result-object v0

    invoke-direct {v1, v3, v0}, Lcom/instagram/ui/d/b;-><init>(ILjava/lang/CharSequence;)V

    invoke-interface {v2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 304
    new-instance v0, Lcom/instagram/ui/d/c;

    invoke-direct {v0}, Lcom/instagram/ui/d/c;-><init>()V

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 307
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x9

    if-lt v0, v1, :cond_3

    .line 308
    new-instance v0, Lcom/instagram/ui/d/b;

    sget v1, Lcom/facebook/ba;->advanced_features:I

    invoke-direct {v0, v1}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 310
    :cond_3
    new-instance v0, Lcom/instagram/ui/d/b;

    sget v1, Lcom/facebook/ba;->change_profile_picture:I

    invoke-direct {v0, v1, v5}, Lcom/instagram/ui/d/b;-><init>(IZ)V

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 311
    new-instance v0, Lcom/instagram/ui/d/b;

    sget v1, Lcom/facebook/ba;->clear_search_history:I

    invoke-direct {v0, v1, v5}, Lcom/instagram/ui/d/b;-><init>(IZ)V

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 312
    new-instance v0, Lcom/instagram/ui/d/b;

    sget v1, Lcom/facebook/ba;->log_out:I

    invoke-direct {v0, v1, v5}, Lcom/instagram/ui/d/b;-><init>(IZ)V

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 315
    invoke-static {}, Lcom/instagram/i/a;->d()Z

    move-result v0

    if-nez v0, :cond_4

    .line 316
    new-instance v0, Lcom/instagram/ui/d/a;

    sget v1, Lcom/facebook/ba;->developer:I

    invoke-direct {v0, v1}, Lcom/instagram/ui/d/a;-><init>(I)V

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 317
    new-instance v0, Lcom/instagram/ui/d/b;

    sget v1, Lcom/facebook/ba;->options:I

    invoke-direct {v0, v1}, Lcom/instagram/ui/d/b;-><init>(I)V

    invoke-interface {v2, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 320
    :cond_4
    return-object v2

    .line 302
    :cond_5
    sget v0, Lcom/facebook/ba;->video_preload_wifi:I

    goto :goto_0
.end method

.method static synthetic a(Lcom/instagram/android/fragment/ia;)Lcom/instagram/android/util/c;
    .locals 1
    .parameter

    .prologue
    .line 42
    iget-object v0, p0, Lcom/instagram/android/fragment/ia;->ab:Lcom/instagram/android/util/c;

    return-object v0
.end method

.method static synthetic b(Lcom/instagram/android/fragment/ia;)Lcom/instagram/android/e/o;
    .locals 1
    .parameter

    .prologue
    .line 42
    iget-object v0, p0, Lcom/instagram/android/fragment/ia;->aa:Lcom/instagram/android/e/o;

    return-object v0
.end method


# virtual methods
.method public a(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 86
    sget v0, Lcom/facebook/ax;->layout_listview:I

    const/4 v1, 0x0

    invoke-virtual {p1, v0, p2, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object v0

    .line 87
    sget v1, Lcom/facebook/at;->gray_background:I

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundResource(I)V

    .line 88
    return-object v0
.end method

.method public a()Lcom/instagram/a/a;
    .locals 1

    .prologue
    .line 55
    new-instance v0, Lcom/instagram/android/fragment/ib;

    invoke-direct {v0, p0}, Lcom/instagram/android/fragment/ib;-><init>(Lcom/instagram/android/fragment/ia;)V

    return-object v0
.end method

.method public a(IILandroid/content/Intent;)V
    .locals 1
    .parameter
    .parameter
    .parameter

    .prologue
    .line 117
    iget-object v0, p0, Lcom/instagram/android/fragment/ia;->aa:Lcom/instagram/android/e/o;

    invoke-virtual {v0, p1, p2, p3}, Lcom/instagram/android/e/o;->a(IILandroid/content/Intent;)V

    .line 118
    invoke-super {p0, p1, p2, p3}, Lcom/instagram/e/b/c;->a(IILandroid/content/Intent;)V

    .line 119
    return-void
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 2
    .parameter

    .prologue
    .line 93
    invoke-super {p0, p1}, Lcom/instagram/e/b/c;->a(Landroid/os/Bundle;)V

    .line 95
    new-instance v0, Lcom/instagram/android/e/o;

    invoke-direct {v0, p0, p1}, Lcom/instagram/android/e/o;-><init>(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/ia;->aa:Lcom/instagram/android/e/o;

    .line 97
    new-instance v0, Lcom/instagram/ui/d/h;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/ia;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/ui/d/h;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/ia;->Z:Lcom/instagram/ui/d/h;

    .line 98
    iget-object v0, p0, Lcom/instagram/android/fragment/ia;->Z:Lcom/instagram/ui/d/h;

    invoke-virtual {p0, v0}, Lcom/instagram/android/fragment/ia;->a(Landroid/widget/ListAdapter;)V

    .line 100
    new-instance v0, Lcom/instagram/android/util/c;

    invoke-virtual {p0}, Lcom/instagram/android/fragment/ia;->j()Landroid/support/v4/app/j;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/android/util/c;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/instagram/android/fragment/ia;->ab:Lcom/instagram/android/util/c;

    .line 101
    return-void
.end method

.method public d(Landroid/os/Bundle;)V
    .locals 2
    .parameter

    .prologue
    .line 123
    invoke-super {p0, p1}, Lcom/instagram/e/b/c;->d(Landroid/os/Bundle;)V

    .line 125
    invoke-virtual {p0}, Lcom/instagram/android/fragment/ia;->j_()Landroid/widget/ListView;

    move-result-object v0

    new-instance v1, Lcom/instagram/android/fragment/ic;

    invoke-direct {v1, p0}, Lcom/instagram/android/fragment/ic;-><init>(Lcom/instagram/android/fragment/ia;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 263
    return-void
.end method

.method public d_()Ljava/lang/String;
    .locals 1

    .prologue
    .line 336
    const-string v0, "user_options"

    return-object v0
.end method

.method public e(Landroid/os/Bundle;)V
    .locals 1
    .parameter

    .prologue
    .line 111
    invoke-super {p0, p1}, Lcom/instagram/e/b/c;->e(Landroid/os/Bundle;)V

    .line 112
    iget-object v0, p0, Lcom/instagram/android/fragment/ia;->aa:Lcom/instagram/android/e/o;

    invoke-virtual {v0, p1}, Lcom/instagram/android/e/o;->a(Landroid/os/Bundle;)V

    .line 113
    return-void
.end method

.method public w()V
    .locals 2

    .prologue
    .line 105
    invoke-super {p0}, Lcom/instagram/e/b/c;->w()V

    .line 106
    iget-object v0, p0, Lcom/instagram/android/fragment/ia;->Z:Lcom/instagram/ui/d/h;

    invoke-direct {p0}, Lcom/instagram/android/fragment/ia;->Y()Ljava/util/List;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/ui/d/h;->a(Ljava/util/Collection;)V

    .line 107
    return-void
.end method

.method public x()V
    .locals 2

    .prologue
    .line 325
    invoke-super {p0}, Lcom/instagram/e/b/c;->x()V

    .line 327
    invoke-virtual {p0}, Lcom/instagram/android/fragment/ia;->m()Landroid/support/v4/app/r;

    move-result-object v0

    const-string v1, "ProgressDialog"

    invoke-virtual {v0, v1}, Landroid/support/v4/app/r;->a(Ljava/lang/String;)Landroid/support/v4/app/Fragment;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/fragment/ey;

    .line 329
    if-eqz v0, :cond_0

    .line 330
    invoke-virtual {v0}, Lcom/instagram/android/fragment/ey;->b()V

    .line 332
    :cond_0
    return-void
.end method
